package com.example.noelwhereismystuffs.models;

import java.io.Serializable;
import java.util.ArrayList;

public abstract class Item implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -618050505352177152L;
	public String name;
	public User owner;
	public ArrayList<String> tags;
	private String location;
	private String category;
	private String status;
	private String date;
	
	public Item(String name, User owner, String location, String category, String date) {
		this.name = name;
		this.owner = owner;
		this.location = location;
		this.category = category;
		this.date = date;
		this.status = "Unclaimed";
	}

	public String getName() {
		return name;
	}

	/**
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return current owner of object
	 */
	public User getOwner() {
		return owner;
	}

	/**
	 * @return tags decribing object
	 */
	public ArrayList<String> getTags() {
		return tags;
	}

	/**
	 * @param tags
	 *            describing the object
	 */
	public void setTags(ArrayList<String> tags) {
		this.tags = tags;
	}

	/**
	 * @return location
	 */
	public String getLocation() {
		return location;
	}

	public String getCategory() {
		return category;
	}

	/**
	 * @param location
	 */
	public void setLocation(String location) {
		this.location = location;
	}

	public String getStatus() {
		// TODO Auto-generated method stub
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDate() {
		return this.date;
	}

	public void setDate(String date) {
		this.date = date;
	}


}
